package com.hui.api.client.post;

import com.hui.api.client.post.fallback.PostClientFallback;
import com.hui.model.mess.ArticleVisitStreamMess;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "post-service", fallbackFactory = PostClientFallback.class)
public interface PostClient {

    @PostMapping("/post/saveCommentCount")
     void saveCommentCount(@RequestBody ArticleVisitStreamMess mess ) ;

}
